package com.atguigu.principle.addpter.objaddpter;



public class Client {
    public static void main(String[] args) {
        System.out.println("======对象适配器=====");
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter(new Voitag220V()));
    }
}
